package org.jeecg.modules.manage.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.manage.entity.CaishuiMiddleCompany;
import org.jeecg.modules.manage.vo.CaishuiUserPage;

/**
 * @Description: 中台服务公司信息表
 * @Author: yfkj
 * @Date:   2023-03-11
 * @Version: V1.0
 */
@InterceptorIgnore(tenantLine = "true")
public interface MCaishuiMiddleCompanyMapper extends BaseMapper<CaishuiMiddleCompany> {

    /**
     * 外键关联分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    public IPage<CaishuiUserPage> pageMultiTable(IPage<CaishuiUserPage> page, @Param(Constants.WRAPPER) QueryWrapper<CaishuiUserPage> queryWrapper);

    /**
     * 外键关联分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    public IPage<CaishuiUserPage> pageSubTable(IPage<CaishuiUserPage> page, @Param(Constants.WRAPPER) QueryWrapper<CaishuiUserPage> queryWrapper);


}
